Description
The weather panel currently shows a plain text list of 3-day forecasts (Mon 72° / 58°). Replace or supplement this with a visual 7-day forecast bar using Textual's Sparkline widget or Unicode block characters — one column per day showing high/low temp range.
Implementation:
- Use the
daily[]array from the weather payload (already fetched, hasmax,min,date,precipProb) - Render a mini bar chart: each day as a labeled column with a filled block representing the temp range, colored by high temp (cool→warm gradient)
- Show day abbreviation + high/low below each bar
- Precipitation probability shown as a
%label or bar fill change when ≥ 20% - Textual
Sparklinecould show just highs; a customStaticRich table gives more control over high/low ranges
Weather payload already has up to 7 days of daily data.
Acceptance Criteria
- #1 Weather panel shows a visual 7-day forecast
- #2 Each day shows abbreviated name, high, low
- #3 Precipitation probability indicated when >= 20%
- #4 Chart fits within the panel without horizontal scrolling at typical terminal widths
- #5 Falls back gracefully if fewer than 7 days available